package cn.edu.scau.cmi.ema.service;

import cn.edu.scau.cmi.ema.base.CmiPagination;
import cn.edu.scau.cmi.ema.domain.Standard;

import java.util.List;
import java.util.Map;
import java.util.Set;


public interface StandardService {

	public Standard saveStandard(Standard standard);

	public Set<Standard> loadStandards();

	public Set<Standard> loadReferenceStandards(Set<Standard> standards);

	public Set<Standard> loadStandardsByIdSet(Set<Integer> standardsId);

	public Map<String, ?> loadStandardObjectReferencedSet(Standard standard);

	public Map<String, ?> loadStandardClassReferencedSet(Standard standard);

	public void deleteStandard(Standard standard);

	public void deleteStandards(Set<Integer> deleteStandardsId);

	public List<Standard> findAllStandards(Integer startResult, Integer maxRows);

	public Standard findStandardByPrimaryKey(Integer id);

	public Integer countStandards();

	public Integer countStandards(CmiPagination page);

	public Integer countStandardsByName(String queryName);

	public Integer countStandardsByDetachedCriteria(CmiPagination page);

}
